package com.martin.dms.factories;

import com.martin.dms.model.Supplier;

/**
 * Factory service for the Supplier entity object.
 * 
 * @author mtsvetkov
 */
public interface SupplierFactory {

    /**
     * Creates a new Supplier entity object.
     * 
     * @param name - the name of the supplier.
     * @param email - the email of the supplier.
     * @param address - the address of the supplier.
     * @param phoneNumber - the phone number of the supplier.
     * @return the new supplier.
     */
    public Supplier create(String name, String email, String address, String phoneNumber);
}
